<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Bel_File_Image</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Bel_File_Image</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Image manupulation class. Using GD library</p>
<p class="description"><p>This class was taken from Mageno (http://www.magentocommerce.com/) and a little bit modified. *</p></p>
		<p class="notes">
			Located in <a class="field" href="_Libs---Bel---File---Image.php.html">/Libs/Bel/File/Image.php</a> (line <span class="field">25</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#POSITION_BOTTOM_LEFT" title="details" class="const-name">POSITION_BOTTOM_LEFT</a> = 					<span class="var-type"> 'bottom-left'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#POSITION_BOTTOM_RIGHT" title="details" class="const-name">POSITION_BOTTOM_RIGHT</a> = 					<span class="var-type"> 'bottom-right'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#POSITION_STRETCH" title="details" class="const-name">POSITION_STRETCH</a> = 					<span class="var-type"> 'stretch'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#POSITION_TILE" title="details" class="const-name">POSITION_TILE</a> = 					<span class="var-type"> 'tile'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#POSITION_TOP_LEFT" title="details" class="const-name">POSITION_TOP_LEFT</a> = 					<span class="var-type"> 'top-left'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#POSITION_TOP_RIGHT" title="details" class="const-name">POSITION_TOP_RIGHT</a> = 					<span class="var-type"> 'top-right'</span>

				</div>
							</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																																																																																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$fileName" title="details" class="var-name">$fileName</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$imageBackgroundColor" title="details" class="var-name">$imageBackgroundColor</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_fileMimeType" title="details" class="var-name">$_fileMimeType</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_fileSrcName" title="details" class="var-name">$_fileSrcName</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_fileSrcPath" title="details" class="var-name">$_fileSrcPath</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_fileType" title="details" class="var-name">$_fileType</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_imageHandler" title="details" class="var-name">$_imageHandler</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_imageSrcHeight" title="details" class="var-name">$_imageSrcHeight</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_imageSrcWidth" title="details" class="var-name">$_imageSrcWidth</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_keepProportion" title="details" class="var-name">$_keepProportion</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_requiredExtensions" title="details" class="var-name">$_requiredExtensions</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_watermarkHeigth" title="details" class="var-name">$_watermarkHeigth</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_watermarkPosition" title="details" class="var-name">$_watermarkPosition</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_watermarkWidth" title="details" class="var-name">$_watermarkWidth</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																												
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#checkDependencies" title="details" class="method-name">checkDependencies</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#crop" title="details" class="method-name">crop</a>
											([<span class="var-type">int</span>&nbsp;<span class="var-name">$top</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$bottom</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$right</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$left</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#display" title="details" class="method-name">display</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getMimeType" title="details" class="method-name">getMimeType</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getWatermarkHeigth" title="details" class="method-name">getWatermarkHeigth</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getWatermarkPosition" title="details" class="method-name">getWatermarkPosition</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getWatermarkWidth" title="details" class="method-name">getWatermarkWidth</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#keepProportion" title="details" class="method-name">keepProportion</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#open" title="details" class="method-name">open</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#__destruct" title="details" class="method-name">__destruct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#resize" title="details" class="method-name">resize</a>
											([<span class="var-type">int</span>&nbsp;<span class="var-name">$dstWidth</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$dstHeight</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#rotate" title="details" class="method-name">rotate</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$angle</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#save" title="details" class="method-name">save</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$destination</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$newName</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../Bel/Bel_File_Image.html">Bel_File_Image</a></span>
										<a href="#setKeepProportion" title="details" class="method-name">setKeepProportion</a>
											(<span class="var-type">bool</span>&nbsp;<span class="var-name">$flag</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setWatermarkHeigth" title="details" class="method-name">setWatermarkHeigth</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$heigth</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setWatermarkPosition" title="details" class="method-name">setWatermarkPosition</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$position</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setWatermarkWidth" title="details" class="method-name">setWatermarkWidth</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$width</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#watermark" title="details" class="method-name">watermark</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$watermarkImage</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$positionX</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$positionY</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$watermarkImageOpacity</span> = <span class="var-default">30</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$repeat</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_getFileAttributes" title="details" class="method-name">_getFileAttributes</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$fileName" id="$fileName"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$fileName</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">28</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$imageBackgroundColor" id="$imageBackgroundColor"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$imageBackgroundColor</span>
			 = <span class="var-default"> 0</span>			(line <span class="line-number">29</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$_fileMimeType" id="$_fileMimeType"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_fileMimeType</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">39</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_fileSrcName" id="$_fileSrcName"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_fileSrcName</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">40</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_fileSrcPath" id="$_fileSrcPath"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_fileSrcPath</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">41</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_fileType" id="$_fileType"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_fileType</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">38</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_imageHandler" id="$_imageHandler"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_imageHandler</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">42</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_imageSrcHeight" id="$_imageSrcHeight"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_imageSrcHeight</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">44</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_imageSrcWidth" id="$_imageSrcWidth"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_imageSrcWidth</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">43</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_keepProportion" id="$_keepProportion"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_keepProportion</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">48</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_requiredExtensions" id="$_requiredExtensions"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_requiredExtensions</span>
			 = <span class="var-default">array (&quot;gd&quot; )</span>			(line <span class="line-number">26</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_watermarkHeigth" id="$_watermarkHeigth"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_watermarkHeigth</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">47</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_watermarkPosition" id="$_watermarkPosition"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_watermarkPosition</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">45</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_watermarkWidth" id="$_watermarkWidth"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_watermarkWidth</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">46</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodcheckDependencies" id="checkDependencies"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">checkDependencies</span> (line <span class="line-number">350</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			checkDependencies
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcrop" id="crop"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">crop</span> (line <span class="line-number">330</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Crops part of previously opened image</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			crop
		</span>
					([<span class="var-type">int</span>&nbsp;<span class="var-name">$top</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$bottom</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$right</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$left</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$top</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$bottom</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$right</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$left</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddisplay" id="display"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">display</span> (line <span class="line-number">142</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sends previously opend image to stream. (display it)</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			display
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetMimeType" id="getMimeType"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getMimeType</span> (line <span class="line-number">377</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getMimeType
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetWatermarkHeigth" id="getWatermarkHeigth"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getWatermarkHeigth</span> (line <span class="line-number">412</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getWatermarkHeigth
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetWatermarkPosition" id="getWatermarkPosition"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getWatermarkPosition</span> (line <span class="line-number">394</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getWatermarkPosition
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetWatermarkWidth" id="getWatermarkWidth"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getWatermarkWidth</span> (line <span class="line-number">403</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getWatermarkWidth
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodkeepProportion" id="keepProportion"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">keepProportion</span> (line <span class="line-number">427</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			keepProportion
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodopen" id="open"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">open</span> (line <span class="line-number">55</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Open image file to work with</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			open
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filename</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filename</span><span class="var-description">: - path to file</span>			</li>
				</ul>
		
			
	</div>
<a name="method__destruct" id="__destruct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Destructor __destruct</span> (line <span class="line-number">363</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__destruct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodresize" id="resize"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">resize</span> (line <span class="line-number">176</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Resize previously opened image</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			resize
		</span>
					([<span class="var-type">int</span>&nbsp;<span class="var-name">$dstWidth</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$dstHeight</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$dstWidth</span><span class="var-description">: - new width</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$dstHeight</span><span class="var-description">: - new height</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrotate" id="rotate"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">rotate</span> (line <span class="line-number">229</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Rotate previosly opened image</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			rotate
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$angle</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$angle</span><span class="var-description">: - angle to rotate</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsave" id="save"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">save</span> (line <span class="line-number">93</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Save previously opened image</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			save
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$destination</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$newName</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$destination</span><span class="var-description">: - new file path (if empty will be used an old one)</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$newName</span><span class="var-description">: - new file name (if empty will be used an old one)</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetKeepProportion" id="setKeepProportion"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setKeepProportion</span> (line <span class="line-number">422</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Keep proportion after resize</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../Bel/Bel_File_Image.html">Bel_File_Image</a></span>
		<span class="method-name">
			setKeepProportion
		</span>
					(<span class="var-type">bool</span>&nbsp;<span class="var-name">$flag</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$flag</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetWatermarkHeigth" id="setWatermarkHeigth"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setWatermarkHeigth</span> (line <span class="line-number">407</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setWatermarkHeigth
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$heigth</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$heigth</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetWatermarkPosition" id="setWatermarkPosition"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setWatermarkPosition</span> (line <span class="line-number">389</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setWatermarkPosition
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$position</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$position</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetWatermarkWidth" id="setWatermarkWidth"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setWatermarkWidth</span> (line <span class="line-number">398</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setWatermarkWidth
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$width</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$width</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwatermark" id="watermark"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">watermark</span> (line <span class="line-number">242</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds watermark to image</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			watermark
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$watermarkImage</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$positionX</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$positionY</span> = <span class="var-default">0</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$watermarkImageOpacity</span> = <span class="var-default">30</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$repeat</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$watermarkImage</span><span class="var-description">: - path to watermark image</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$positionX</span><span class="var-description">: - watermark left coordinate</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$positionY</span><span class="var-description">: - wtermark top coordinate</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$watermarkImageOpacity</span><span class="var-description">: - opacity</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$repeat</span>			</li>
				</ul>
		
			
	</div>
<a name="method_getFileAttributes" id="_getFileAttributes"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_getFileAttributes</span> (line <span class="line-number">431</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_getFileAttributes
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constPOSITION_BOTTOM_LEFT" id="POSITION_BOTTOM_LEFT"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">POSITION_BOTTOM_LEFT</span>
			 = <span class="const-default"> 'bottom-left'</span>
			(line <span class="line-number">33</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constPOSITION_BOTTOM_RIGHT" id="POSITION_BOTTOM_RIGHT"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">POSITION_BOTTOM_RIGHT</span>
			 = <span class="const-default"> 'bottom-right'</span>
			(line <span class="line-number">34</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constPOSITION_STRETCH" id="POSITION_STRETCH"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">POSITION_STRETCH</span>
			 = <span class="const-default"> 'stretch'</span>
			(line <span class="line-number">35</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constPOSITION_TILE" id="POSITION_TILE"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">POSITION_TILE</span>
			 = <span class="const-default"> 'tile'</span>
			(line <span class="line-number">36</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constPOSITION_TOP_LEFT" id="POSITION_TOP_LEFT"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">POSITION_TOP_LEFT</span>
			 = <span class="const-default"> 'top-left'</span>
			(line <span class="line-number">31</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constPOSITION_TOP_RIGHT" id="POSITION_TOP_RIGHT"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">POSITION_TOP_RIGHT</span>
			 = <span class="const-default"> 'top-right'</span>
			(line <span class="line-number">32</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Mon, 01 Mar 2010 18:58:51 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0</a>
	</p>
	</div></body>
</html>